package com.atguigu.gulimall.order.enume;

/**
 * @Description :
 * @Author : mayp
 * @Date: 2021-01-10 17:11
 */
public enum  OrderStatusEnum {
    CREATE_NEW(0,"待付款"),
    PAYED(1,"已付款"),
    SENDED(2,"已发货"),
    RECIEVED(3,"已完成"),
    CANCLED(4,"已取消"),
    SERVICING(5,"售后中"),
    SERVICED(6,"售后完成");
    private Integer code;
    private String mes;
    OrderStatusEnum(Integer code,String mes){
        this.code=code;
        this.mes = mes;
    }

    public Integer getCode() {
        return code;
    }

    public String getMes() {
        return mes;
    }
}
